/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Factory;
import base.*;
import topping.*;
import Decorator.*;
import admin.AUWareHouse;
import admin.WareHouse;
import payment.AUGST;
import payment.GSTStrategy;
/**
 *
 * @author LL
 */
public class AUPizzaFactory extends PizzaFactory{
//    public AUPizzaFactory(){}
    public Base createBase(String baseName){
        String bn = "AU"+baseName;
        return new AUBase(bn,this.tPizzaToppingInfo.pizzaToppingInfo.get(bn).doubleValue());
    }
    public ToppingDecorator createTopping(String toppingName,PizzaBase tPizzaBase){
        String tn = "AU"+toppingName;
        System.out.println(tn);
        return new AUTopping(tn,this.tPizzaToppingInfo.pizzaToppingInfo.get(tn).doubleValue(),tPizzaBase);
    }
    public GSTStrategy createGSTStrategy(){
        return new AUGST();
    }
    public WareHouse createWareHouse(){
        return new AUWareHouse();
    }
}
